package member

import "github.com/gogf/gf/v2/frame/g"

type EmailSendCodeReq struct {
	g.Meta `path:"/member/SendEmailCode" method:"post" tags:"APP_MEMBER" summary:"授权_发送邮箱验证码"`
	EMail  string `json:"email" v:"required#请填入邮箱" dc:"邮箱"`
}

type EmailSendCodeRes struct{}

type SmsSendCodeReq struct {
	g.Meta `path:"/member/SendPhoneCode" method:"post" tags:"APP_MEMBER" summary:"授权_发送手机验证码"`
	Phone  string `json:"phone" v:"required#请填入手机号" dc:"手机"`
	AreaNo string `json:"area_no" v:"required#请填入手机区号" dc:"手机区号-例如国内+86 传入+86"`
}

type SmsSendCodeRes struct{}
